<template>
   <div class="">
     <div class="title">首页</div>
    <ul class="button-list">
        <li class="button-item">
            <nuxt-link :to="{name:'home'}">HOME</nuxt-link>
        </li>
        <li class="button-item">
            <nuxt-link :to="{name:'about'}">ABOUT</nuxt-link>
        </li>
        <li class="button-item">
            <nuxt-link :to="{name:'list'}">LIST</nuxt-link>
        </li>
         <li class="button-item">
            <nuxt-link :to="{name:'supply'}">SUPPLY</nuxt-link>
        </li>
         <li class="button-item">
            <nuxt-link :to="{name:'contact'}">CONTACT</nuxt-link>
        </li>
        <li class="button-item">
            <nuxt-link :to="{name:'material'}">MATERIAL</nuxt-link>
        </li>
    </ul>
   </div>
</template>

<script>
export default {
   name: '',
   data() {
       return {}
   },
  components: {}
}
</script>

<style scoped lang="less">
.title{
  width: 4rem;
  height: 2rem;
  margin: 0 auto;
  text-align: center;
  line-height: 2rem;
  background-color: #d4aa58;
  font-size: 0.4rem;
  color: white;
  margin-bottom: 0.2rem;

}
.button-list{
  width: 100%;
  height: 2.6rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  .button-item{
    width: 2.4rem;
    height: 1.2rem;
    background-color: #d4aa58;
    font-size: 0.4rem;
    color: white;
    text-align: center;
    line-height: 1.2rem;
  }
}
</style>
